package com.ren.weibo.mapper;

import com.ren.weibo.pojo.entity.Weibo;
import com.ren.weibo.pojo.vo.WeiboDetailVO;
import com.ren.weibo.pojo.vo.WeiboIndexVO;

import java.util.List;

public interface WeiboMapper {
    void add(Weibo weibo);

    List<WeiboIndexVO> selectIndex();

    WeiboDetailVO selectById(Integer id);
}
